"use strict";
import * as React from 'react';
import { commonStyles } from "../assets/styles/common";
import Colors from "../assets/styles/Colors";
import MyText from "./MyText";
const { View, Text } = require('react-native');
const { connect } = require('react-redux');
class WithDrawListItem extends React.Component {
    render() {
        return (<View style={[commonStyles.flexRow, { alignItems: 'center', backgroundColor: Colors.White, paddingVertical: 20, paddingHorizontal: 10 }]}>
                <View style={{ display: 'flex', flex: 0.8, }}>
                    <MyText color={Colors.BriefTitle}>{this.props.updated_at}</MyText>
                </View>
                <View style={[commonStyles.centerVH, { display: 'flex', flex: 0.2 }]}>
                    <MyText color={Colors.Reduce}>{`-${Number(this.props.price).toFixed(2)}`}</MyText>
                </View>
            </View>);
    }
}
export default WithDrawListItem;
